<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>购物车</title>
</head>

<body>


    <table border="1">
        <caption><strong>购物车</strong></caption>
        <tr>
            <th rowspan="2">名称</th>
            <th colspan="2">2020-05-12</th>

            <th rowspan="2">小计</th>
        </tr>

        <tr>

            <th>重量</th>
            <th>单价</th>

        </tr>

        <tr>
            <th>苹果</th>
            <td>3kg</td>
            <td>5元/kg</td>
            <td>15元</td>
        </tr>

        <tr>
            <th>香蕉</th>
            <td>2kg</td>
            <td>6元/kg</td>
            <td>12元</td>
        </tr>

        <tr>
            <th colspan="3">总价</th>

            <td>27元</td>
        </tr>
    </table>
</body>

</html>